Ray-Triangle and Ray-Quadrilateral Intersections in Homogeneous Coordinates

نویسندگان

  • Pat Hanrahan
  • Felix Klein
چکیده

Recent articles in Ray Tracing News have discussed solutions to the problem of intersecting a ray with a triangle using the triangle’s barycentric coordinates. This article shows yet another way to think about the ray-triangle intersection problem. The idea is to think of the barycentric coordinates of the intersection point, not as the ratio of areas, but rather as the as ratios of the volume of tetrahedra. This technique can also be used to derive formulae for ray-quadrilateral intersection by using the fact that associated with every planar quadrilateral is a unique triangle. Finally, I would like to show the connection between these results and Plucker line coordinates. This insight leads to quite an efficient algorithm. Most people studying computer graphics learn about homogeneous coordinates and projective geometry because they allow perspective transformations to be expressed as linear transformations involving 4x4 matrices. When writing a ray tracer, however, most authors have duplicated Turner Whitted’s original approach where eye rays are directly formed in world space, obviating the need for a explicit viewing transformation. As a result the geometric calculations are usually expressed using familiar vector algebra in a Euclidean coordinate system. However, homogeneous coordinates were not invented to just express projective transformations; they have the advantage that many geometric calculations have elegant solutions when expressed in term of these coordinates. In fact, Felix Klein goes on to say in the same book from which the opening quote is taken.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Fast Ray-Triangle Intersections by Coordinate Transformation

Ray-triangle intersection is a crucial calculation in ray tracing. We present a new algorithm for finding these intersections, occupying a different place in the spectrum of time-space tradeoffs than existing algorithms do. Our algorithm provides faster ray-triangle intersection calculations at the expense of precomputing and storing a small amount of extra information for each triangle. Runnin...

متن کامل

Physical Optics Calculation of Electromagnetic Scattering From Haack Series Nose Cone

In this paper, the physical optics method is used to study the problem of electromagnetic scattering from Haack series nose cone. First, a meshing scheme is introduced which approximates the curvature of the surface by piecewise linear functions in both axial and rotational directions. This results in planar quadrilateral patches and enables efficient determination of the illuminated region and...

متن کامل

An Efficient Ray-Quadrilateral Intersection Test

We present a new and efficient method to compute the intersection point between a convex planar quadrilateral and a ray. Contrary to other methods, the bilinear coordinates of the intersection point are computed only for rays that hit the quadrilateral. Rays that do not hit the quadrilateral are rejected early. Our method is up to 40% faster compared to previous approaches.

متن کامل

Ray Bilinear Patch Intersections

Ray tracing and other techniques employ algorithms which require the intersection between a 3D parametric ray and an object to be computed. The object to intersect is typically a sphere, triangle, or polygon but many surface types are possible. In this work we consider intersections between rays and the simplest parametric surface, the bilinear patch. Unlike other surfaces, solving the ray-bili...

متن کامل

Automatic Smoothing of Quad & Triangle Meshes

I present a methodology to create smooth meshes using spline patches generated automatically from the geometry of the mesh. The intent is to create a smooth surface across the entire mesh, which creates smooth silhouette edges and is very useful for high quality ray tracing. An additional goal was that this methodology could be used on meshes made out of triangle faces, quadrilateral faces or a...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2002